﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DataAccess;
using NewsCrawler.Common.Interfaces;
using NewsCrawler.Common.Models;
using ClientLibrary;
using NewsCrawler.Common.Models.ViewModels;

namespace BusinessLayer
{
    public class IndexBusiness
    {
        public IndexViewModel GetIndexViewModel()
        {
            IRepository repository = Core.Instance.Repository;
            IndexViewModel model = repository.GetIndexViewModel();
            return model;
        }
    }
}
